package ru.futurelink.moneyorganizer.balance;

import ru.futurelink.moneyorganizer.R;
import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

public class BalanceFragment extends Fragment {
    public static BalanceFragment newInstance(int index) {
    	BalanceFragment f = new BalanceFragment();

        // Supply index input as an argument.
        Bundle args = new Bundle();
        args.putInt("index", index);
        f.setArguments(args);

        return f;
    }

	@Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
            Bundle savedInstanceState) {
		return inflater.inflate(R.layout.balance_view, container, false);
    }
}
